package com.ocom.common.entity.access;


import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "mj_ykm")
public class EntityMjYkm implements Serializable {

  private static final long serialVersionUID = 6679889788746328120L;
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  private Long comId;
  private Long areaId;
  @JSONField(name = "isEnable")
  private Boolean isEnable;
  private Boolean color;
  private Boolean colorRed;
  private Boolean colorYellow;
  private Boolean colorGreen;
  private Boolean checkResource;
  private Boolean checkResourceYin;
  private Boolean checkResourceYang;
  @JSONField(name = "isTemperature")
  private Boolean isTemperature;
  private Double temperature;
  @JSONField(name = "isCheckRange")
  private Boolean isCheckRange;
  private Integer checkRange;
  @JSONField(name = "isHighRisk")
  private Boolean isHighRisk;
  private Integer highRisk;
  private Boolean useSys;
  @JSONField(name = "isSkip")
  private Boolean isSkip;
  private String title;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  public Date createTime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  public Date updateTime;
}
